const Service = require('egg').Service

class HomeService extends Service {
  // implement
  getArticles () {
    return [
      { id: 1, title: 'article 1' },
      { id: 2, title: 'article 2' },
      { id: 3, title: 'article 3' }
    ]
  }
}

module.exports = HomeService
